package com.freemyleft.left.left_app.mian.index.my.base_setting.certification;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;

import com.freemyleft.left.left_app.R;
import com.freemyleft.left.left_app.R2;
import com.freemyleft.left.left_app.mian.index.my.base_setting.certification.dialog.AcademicDiaLog;
import com.freemyleft.left.left_app.mian.index.my.base_setting.certification.dialog.TeacherDiaLog;
import com.freemyleft.left.zapp.delegates.LeftDelegate;

import butterknife.OnClick;

/**
 * 我要认证
 */
public class CertificationDelegate extends LeftDelegate {
    //返回
    @OnClick(R2.id.img_back)
    void back() {
        getActivity().onBackPressed();
    }
    //教师类型
    @OnClick(R2.id.tv_teacher_type)
    void teacherType(){
        TeacherDiaLog diaLog=new TeacherDiaLog(getContext(),this);
        diaLog.show();
    }
    //身份证
    @OnClick(R2.id.tv_Authentication)
    void authentication(){
        AcademicDiaLog diaLog=new AcademicDiaLog(getContext(),this);
        diaLog.setText1("身份证正面",null);
        diaLog.setText2("身份证反面",null);
        diaLog.setText3("工作相关证明",null);
        diaLog.show();

    }
    //学历认证
    @OnClick(R2.id.academic_certificate)
    void academicCertificate(){
        AcademicDiaLog diaLog=new AcademicDiaLog(getContext(),this);
        diaLog.setText1("毕业证",null);
        diaLog.setText2("学生证",null);
        diaLog.setText3("校园卡",null);
        diaLog.show();
    }
    //资质认证
    @OnClick(R2.id.tv_zizhi_Certification)
    void zizhiCertification(){
        AcademicDiaLog diaLog=new AcademicDiaLog(getContext(),this);
        diaLog.setText1("毕业证",null);
        diaLog.setText2("学生证",null);
        diaLog.setText3("校园卡",null);
        diaLog.show();
    }
    //专业认证
    @OnClick(R2.id.zhuanye)
    void zhuanye(){
        AcademicDiaLog diaLog=new AcademicDiaLog(getContext(),this);
        diaLog.setText1("毕业证",null);
        diaLog.setText2("学生证",null);
        diaLog.setText3("校园卡",null);
        diaLog.show();
    }
    @OnClick(R2.id.imag_submit)
    void submit(){

    }

    @Override
    public Object setLayout() {
        return R.layout.delegate_my_certification;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, @NonNull View rootView) {

    }
}
